<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@include file="_commonAdmin/title.jsp" %>
<body>
    <%@include  file="_commonAdmin/header.jsp" %>
    <%@include  file="_commonAdmin/sidebar.jsp" %>


    <div class="col-main col-xs-12 col-sm-6 col-md-9">
        <h2 class="ico_courses">Courses Manager</h2>
        <table id="table">
            <thead>
                <tr>
                    <th>UserID</th>
                    <th>UserName</th>
                    <th>CoursesName</th>
                    <th>Actions</th>
                </tr>
            </thead>
            <tbody>
                <logic:iterate id="courses" name="CoursesUser" property="coursesUser">
                    <tr>
                        <td>${courses.userId}</td>
                        <td>${courses.userName}</td>
                        <td>${courses.coursesName}</td>
                        <td><a href="../CoursesUserDelete.do?userId=${courses.userId}" onclick="return confirm('Do you want to delete this UserCourses ?')" title="Delete UserCourses"><img src="<%=request.getContextPath()%>/_assets/imagesAdmin/cancel.jpg" alt="Delete"></a></td>
                    </tr>
                </logic:iterate>
            </tbody>
        </table>
    </div>
    <%@include file="_commonAdmin/footer.jsp" %>
</body>
</html>


